package com.example.shengyin.dao;

import com.example.shengyin.entity.Admin;
import com.example.shengyin.entity.Subject;
import com.example.shengyin.entity.Survey;
import com.example.shengyin.entity.SurveyQues;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import java.sql.Timestamp;
import java.util.List;

/**
 * AdminMapper接口
 * 
 * @author ruoyi
 * @date 2023-07-29
 */
@Service
public interface SurveyQuesMapper
{
    public SurveyQues select(@Param("id")Long id);
    public List<SurveyQues> list(@Param("pagestart")int pagestart, @Param("limit")int limit,
                                 @Param("title")String title,@Param("stype")Long stype);
    public List<Long> listid(@Param("stype")Long stype);
    public int count( @Param("title")String title,@Param("stype")Long stype);
    public int insert(SurveyQues dAdmin);
    public int update(SurveyQues dAdmin);
    public int delete(@Param("id")Long id);
    public int deleteByIds(@Param("ids")String ids);
    List<SurveyQues> listsome(@Param("stype")Long stape,@Param("ids")String ids);

    List<SurveyQues> getlist(@Param("ids")String ids);
}
